From 349f667c528547c8175ce5bd7d3688b2a4265043 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 11 Feb 2025 11:25:28 +0800 Subject: [PATCH] gui/tray: Prevent talk reply text field being too wide and breaking layout Signed-off-by: Claudio Cambra --- src/gui/tray/ActivityItemContent.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/tray/ActivityItemContent.qml b/src/gui/tray/ActivityItemContent.qml index 92d4ed583..45fd6591a 100644 --- a/src/gui/tray/ActivityItemContent.qml +++ b/src/gui/tray/ActivityItemContent.qml @@ -227,13 +227,14 @@ RowLayout { Item { Layout.fillWidth: true + visible: !talkReplyMessageSent.visible } EnforcedPlainTextLabel { id: talkReplyMessageSent height: (text === "") ? 0 : implicitHeight - width: parent.width + Layout.maximumWidth: parent.width / 2 Layout.alignment: Qt.AlignTop | Qt.AlignRight text: root.activityData.messageSent -- 2.30.2